home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML Authority.sea / XML Authority / Required / ccs_util.jar / regex / DState.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-12-09  |  878 b   |  42 lines

  1. package regex;
  2.  
  3. import java.util.BitSet;
  4.  
  5. class DState {
  6.    private BitSet nfaStateSet;
  7.    private boolean visited;
  8.    private DSList next;
  9.    private boolean accepted;
  10.  
  11.    DState(BitSet var1, boolean var2, boolean var3, DSList var4) {
  12.       this.nfaStateSet = var1;
  13.       this.visited = var2;
  14.       this.accepted = var3;
  15.       this.next = var4;
  16.    }
  17.  
  18.    public boolean visited() {
  19.       return this.visited;
  20.    }
  21.  
  22.    public void setNext(DSList var1) {
  23.       this.next = var1;
  24.    }
  25.  
  26.    public BitSet nfaStateSet() {
  27.       return this.nfaStateSet;
  28.    }
  29.  
  30.    public boolean accepted() {
  31.       return this.accepted;
  32.    }
  33.  
  34.    public DSList next() {
  35.       return this.next;
  36.    }
  37.  
  38.    public void visit() {
  39.       this.visited = true;
  40.    }
  41. }
  42.